package com.llly.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;

public class Easybuy_news implements Serializable {

    private Integer id;//主键
    private String title;//标题
    private String content;//内容

    @JsonFormat(pattern = "yyyy-MM-dd") //前台传数据到后台
    private Date createTime;//创建时间
    private Integer isdelete;//是否删除(1：删除 0：未删除)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }


    @Override
    public String toString() {
        return "Easybuy_news{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
